package com.yuan.spring.factoryBeantest;

import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;

/**
 * @author yuaneg 2018/12/12
 */
public class MethodProxy implements InvocationHandler {


    @Override
    public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
        return "this is proxy this is proxythis is proxythis is proxythis is proxythis is proxythis is proxythis is proxy";
    }
}
